package com.managertrade.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class PredictRecordDTO {
    private Long id;
    private Long userId;

    public PredictRecordDTO() {
    }

    private String batchName;
    private String batchId;



    private String predictDirection;

    private String actualDirection;

    private String beforeData;

    private String afterData;
    @JsonProperty("isSuccess")
    private boolean isSuccess;
    private String createdTime;

    public PredictRecordDTO(  Long id, String batchId,String batchName, String predictDirection, String actualDirection, boolean isSuccess, String createdTime) {
        this.id = id;
        this.batchName = batchName;
        this.batchId = batchId;
        this.predictDirection = predictDirection;
        this.actualDirection = actualDirection;
        this.isSuccess = isSuccess;
        this.createdTime = createdTime;
    }
}
